home *** CD-ROM | disk | FTP | other *** search
/ BUG 6 / BUGCD1997_09.BIN / UTIL / WINFAX / WINFAX80.EXE / wfxvcsim.dl_ / wfxvcsim.dl / [0] next >
Text File  |  1997-03-01  |  400b  |  15 lines

  1.  
  2.     BOOL  success;
  3.     BYTE  *ptr;
  4.  
  5.     DLRemoteNotificationPtr remoteMsg = (DLRemoteNotificationPtr) pipeThreadBuffer;
  6.  
  7.     while (ReadFile (readPipe, pipeThreadBuffer, 4, &bytesRead, NULL))
  8.     {
  9.         // if first long is 0xffffffff it means terminate
  10.         if (remoteMsg->totalSize == 0xFFFFFFFF)
  11.         {
  12.             break;
  13.         }
  14.  
  15.         // if the totalSize is greater the